package com.ttg.model.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ttg.model.pojo.MctNextGradeTemp;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

public interface MctNextGradeTempMapper extends BaseMapper<MctNextGradeTemp> {

    @Update("TRUNCATE TABLE tbl_mct_next_grade_temp")
    void truncateOldRecords();

    void mctRating(@Param("date") Integer date);
}
